package com.yonyou.dao.mapper;

import org.apache.ibatis.annotations.Param;
import com.yonyou.dao.entity.BaseVO;

import java.util.List;

/**
 * Created by yijx on 2018/1/2.
 */
public interface IBaseMapper<T> {
    /**
     * 创建表
     */
    int createTable(@Param("tableName") String tableName);

    int add(@Param("tableName") String tableName, @Param("VOs") List<T> VOs);

    int deleteByPKs(@Param("pks") List<String> pks);
}
